<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head th:replace="dashboard/header :: header"></head>
<body>

<!--
@desc  详情 
@author WeiXiaoJin
@since 2019-11-22 18:53:18
-->

	<div layout:fragment="content">
		<div class="container-fluid content-main">
			<div class="animated fadeIn">
				<div class="row">
					<div class="col-sm-12">
						<div class="card">
							<div class="card-body">

								<form class="form-horizontal" id="modifyForm">

									<input type="hidden" name="id" th:value="${bean.id}" />
									
<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">脚本内容</label>
	<div class="col-md-9">
		<input class="form-control" id="scriptContent" type="text" th:value="${ bean.scriptContent}" name="scriptContent" placeholder="脚本内容" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">脚本类型(scala|ansible)</label>
	<div class="col-md-9">
		<input class="form-control" id="scriptType" type="text" th:value="${ bean.scriptType}" name="scriptType" placeholder="脚本类型(scala|ansible)" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">任务名称</label>
	<div class="col-md-9">
		<input class="form-control" id="taskName" type="text" th:value="${ bean.taskName}" name="taskName" placeholder="任务名称" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">运行时间</label>
	<div class="col-md-9">
		<input class="form-control" id="taskRunTime" type="text" th:value="${ bean.taskRunTime}" name="taskRunTime" placeholder="运行时间" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">最后成功时间</label>
	<div class="col-md-9">
		<input class="form-control" id="lastSuccessTime" type="text" th:value="${ bean.lastSuccessTime}" name="lastSuccessTime" placeholder="最后成功时间" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">最后失败时间</label>
	<div class="col-md-9">
		<input class="form-control" id="lastFailTime" type="text" th:value="${ bean.lastFailTime}" name="lastFailTime" placeholder="最后失败时间" readonly="readonly" >
	</div>
</div>
												<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">runStatus</label>
	<div class="col-md-9">
		<input class="form-control" id="runStatus" type="text" th:value="${ bean.runStatus}" name="runStatus" placeholder="" readonly="readonly" >
	</div>
</div>
																		<div class="form-group row">
	<label class="col-md-2 col-form-label control-label" for="text-input">任务版本号</label>
	<div class="col-md-9">
		<input class="form-control" id="taskVersion" type="text" th:value="${ bean.taskVersion}" name="taskVersion" placeholder="任务版本号" readonly="readonly" >
	</div>
</div>
																				</form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<footer th:replace="dashboard/footer :: footer"></footer>

	<script type="text/javascript">
		function submitHandler() {
            var modifyUrl = ctx+"portal/auto/autoTaskHistory/update" ;
			$.operate.save(modifyUrl , $('#modifyForm').serialize());
	    }
	</script>
</body>
</html>
